﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Dabr.NET.OAuth
{
    public struct OAuthConsumer
    {
        public string Key, Secret, CallbackURL;
        public OAuthConsumer(string _key, string _secret, string _callback_url)
        {
            Key = _key;
            Secret = _secret;
            CallbackURL = _callback_url;
        }
        public OAuthConsumer(string _key, string _secret) : this(_key, _secret, null) { }

        public override string ToString()
        {
            return String.Format("OAuthConsumer[key={0},secret={1}]", Key, Secret);
        }
    }
}